Skip to main content

Resize

Check options and parameters of resize method

Image rescaling, also known as image resizing or image scaling, is an image processing technique used to change the dimensions (size) of an image while maintaining its aspect ratio. Rescaling can involve both enlarging and reducing the image's size. The goal of image rescaling is to adapt an image to fit within specific dimensions, whether it's for display, printing, or other purposes.

placeholderplaceholder
Ran in 0.00μs (Infinity ops/s)

Parameters and default values

OptionDefault value
borderTypeconstant
borderValue0
height-
interpolationTypebilinear
preserveAspectRatiotrue
width-
xFactor-
yFactor-